#!/usr/bin/env python
# -*- coding: utf8 -*-

from distutils.core import setup
import py2exe
import glob
import dbhash #для shelve

opts = {
    "py2exe": {
        "includes": "cairo, pango, pangocairo, atk, gobject",
        "packages": "dbhash, encodings"
        # "dll_excludes": [
        # "iconv.dll","intl.dll","libatk-1.0.dll",
        # "libgdk_pixbuf-2.0.dll","libgdk-win32-2.0.dll",
        # "libglib-2.0.dll","libgmodule-2.0.dll",
        # "libgobject-2.0.dll","libgthread-2.0.dll",
        # "libgtk-win32-2.0.dll","libpango-1.0.dll",
        # "libpangowin32-1.0.dll", "libcairo.dll",
        # "libpangocairo-1.0.dll"],
        }
    }

setup(
    name = "BooksCollections",
    description = "Books Collections",
    version = "0.1",
    author="Shaptala Maxim",
    author_email="mshaptala@gmail.com",
    url="http://code.google.com/p/books_collections",
    windows = [
        {"script": "book_collection.py" #,
        #"icon_resources": [ (1, glob.glob("icons/*.*") ]
        }
    ],

    options=opts,

    data_files=[("icons", glob.glob("icons/*.*")),
                ("glade", glob.glob("glade/*.*"))
    ],

)

